x86: use only a single branch for upcall-pending exit path checks
authorJan Beulich <jbeulich@suse.com>
Wed, 12 Sep 2012 08:20:18 +0000 (10:20 +0200)
committerJan Beulich <jbeulich@suse.com>
Wed, 12 Sep 2012 08:20:18 +0000 (10:20 +0200)
commit48baddaa861a8f0704586d449cf1655c87792610
treec495831ad4a0aee61f18aede2eeb9da0dadeb923
parent81da4016bfeb5bde06b79004bf5df8738259b1a3
x86: use only a single branch for upcall-pending exit path checks

This utilizes the fact that the two bytes of interest are adjacent to
one another and that the resulting 16-bit values of interest are within
a contiguous range of numbers.

Signed-off-by: Jan Beulich <jbeulich@suse.com>
Acked-by: Keir Fraser <keir@xen.org>
xen/arch/x86/x86_32/entry.S
xen/arch/x86/x86_64/compat/entry.S
xen/arch/x86/x86_64/entry.S